import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/change_overhaul_record_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/change_overhaul_record_entity.g.dart';

///更改记录实体
@JsonSerializable()
class ChangeOverhaulRecordEntity {
  ChangeOverhaulRecordEntity();

  factory ChangeOverhaulRecordEntity.fromJson(Map<String, dynamic> json) => $ChangeOverhaulRecordEntityFromJson(json);

  ///	更换/校验时间
  String? changeOverhaulDate = '';

  ///	更换/校验人
  String? changeOverhaulPerson = '';

  ///	更换/校验rid
  String? changeOverhaulPersonId = '';

  ///	企业编码
  String? companyCode = '';

  ///	部件/副件信息
  String? componentId = '';

  ///
  String? createBy = '';

  ///
  String? createById = '';

  ///
  String? createDate = '';

  ///
  String? deadline = '';

  ///	0，准时；1，提前；2，超时
  String? deadlineStatus = '';

  ///
  String? deleted = '';

  ///
  String? id = '';

  ///	备注
  String? notes = '';

  ///	0：更换；1：校验
  String? type = '';

  ///
  String? updateBy = '';

  ///
  String? updateById = '';

  ///
  String? updateDate = '';

  Map<String, dynamic> toJson() => $ChangeOverhaulRecordEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
